#!/usr/bin/env bash

# Store this file as .git/hooks/commit-msg in your repository in order to
# enforce checking for proper commit message format before actual commits. You
# may need to make the script executable by 'chmod +x .git/hooks/commit-msg'.

# commit-msg use go-gitlint tool, install go-gitlint via `go install github.com/llorllale/go-gitlint/cmd/go-gitlint@latest`
go-gitlint --msg-file="$1"
